package alp.starcode.edms.framework.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * session用户对象
 */
@Data
public class UserSession {

    @ApiModelProperty(value = "用户ID")
    private String id;

    @ApiModelProperty(value = "用户名（登录账号）")
    private String username;

    @ApiModelProperty(value = "真实姓名")
    private String realName;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "状态（false-禁用，true-启用）")
    private Boolean status;

    @ApiModelProperty(value = "最后登录时间")
    private Long lastLoginTime;

    @ApiModelProperty(value = "最后登录IP")
    private String lastLoginIp;

    @ApiModelProperty(value = "创建时间")
    private Long createTime;

    @ApiModelProperty(value = "修改时间")
    private Long updateTime;
} 